#ifndef CUSTOMFRAME_H
#define CUSTOMFRAME_H

#include <QWidget>
#include <QFrame>

class CustomFrame : public QFrame
{
    Q_OBJECT
public:
    explicit CustomFrame(QWidget *parent = nullptr);

signals:
public:
    bool isEventAccept;
    void setEventAccept();
    void mousePressEvent(QMouseEvent *event)override ; //鼠标按下事件
    // void mouseMoveEvent(QMouseEvent *event)override; //鼠标移动事件
    // void mouseReleaseEvent(QMouseEvent *event)override; //鼠标释放事件
};

#endif // CUSTOMFRAME_H
